import { defineStore } from "pinia";

// 定义store
export const likeStore = defineStore('likeStore', {
    state: () => {
        return {
            like: false
        }
    },

    getters: {
        getLike(state) {
            return state.like
        }
    },
    actions: {
        setLike(like: boolean) {
            this.like = like
        }
    }
})




